package com.rc.saas.tenant.model.member;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RcMemberFlagExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RcMemberFlagExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMemberIdIsNull() {
            addCriterion("member_id is null");
            return (Criteria) this;
        }

        public Criteria andMemberIdIsNotNull() {
            addCriterion("member_id is not null");
            return (Criteria) this;
        }

        public Criteria andMemberIdEqualTo(Long value) {
            addCriterion("member_id =", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotEqualTo(Long value) {
            addCriterion("member_id <>", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThan(Long value) {
            addCriterion("member_id >", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("member_id >=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThan(Long value) {
            addCriterion("member_id <", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("member_id <=", value, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdIn(List<Long> values) {
            addCriterion("member_id in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotIn(List<Long> values) {
            addCriterion("member_id not in", values, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdBetween(Long value1, Long value2) {
            addCriterion("member_id between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("member_id not between", value1, value2, "memberId");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNull() {
            addCriterion("tenant_code is null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIsNotNull() {
            addCriterion("tenant_code is not null");
            return (Criteria) this;
        }

        public Criteria andTenantCodeEqualTo(String value) {
            addCriterion("tenant_code =", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotEqualTo(String value) {
            addCriterion("tenant_code <>", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThan(String value) {
            addCriterion("tenant_code >", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tenant_code >=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThan(String value) {
            addCriterion("tenant_code <", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLessThanOrEqualTo(String value) {
            addCriterion("tenant_code <=", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeLike(String value) {
            addCriterion("tenant_code like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotLike(String value) {
            addCriterion("tenant_code not like", value, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeIn(List<String> values) {
            addCriterion("tenant_code in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotIn(List<String> values) {
            addCriterion("tenant_code not in", values, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeBetween(String value1, String value2) {
            addCriterion("tenant_code between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andTenantCodeNotBetween(String value1, String value2) {
            addCriterion("tenant_code not between", value1, value2, "tenantCode");
            return (Criteria) this;
        }

        public Criteria andIsOperatorIsNull() {
            addCriterion("is_operator is null");
            return (Criteria) this;
        }

        public Criteria andIsOperatorIsNotNull() {
            addCriterion("is_operator is not null");
            return (Criteria) this;
        }

        public Criteria andIsOperatorEqualTo(String value) {
            addCriterion("is_operator =", value, "isOperator");
            return (Criteria) this;
        }

        public Criteria andIsOperatorNotEqualTo(String value) {
            addCriterion("is_operator <>", value, "isOperator");
            return (Criteria) this;
        }

        public Criteria andIsOperatorGreaterThan(String value) {
            addCriterion("is_operator >", value, "isOperator");
            return (Criteria) this;
        }

        public Criteria andIsOperatorGreaterThanOrEqualTo(String value) {
            addCriterion("is_operator >=", value, "isOperator");
            return (Criteria) this;
        }

        public Criteria andIsOperatorLessThan(String value) {
            addCriterion("is_operator <", value, "isOperator");
            return (Criteria) this;
        }

        public Criteria andIsOperatorLessThanOrEqualTo(String value) {
            addCriterion("is_operator <=", value, "isOperator");
            return (Criteria) this;
        }

        public Criteria andIsOperatorLike(String value) {
            addCriterion("is_operator like", value, "isOperator");
            return (Criteria) this;
        }

        public Criteria andIsOperatorNotLike(String value) {
            addCriterion("is_operator not like", value, "isOperator");
            return (Criteria) this;
        }

        public Criteria andIsOperatorIn(List<String> values) {
            addCriterion("is_operator in", values, "isOperator");
            return (Criteria) this;
        }

        public Criteria andIsOperatorNotIn(List<String> values) {
            addCriterion("is_operator not in", values, "isOperator");
            return (Criteria) this;
        }

        public Criteria andIsOperatorBetween(String value1, String value2) {
            addCriterion("is_operator between", value1, value2, "isOperator");
            return (Criteria) this;
        }

        public Criteria andIsOperatorNotBetween(String value1, String value2) {
            addCriterion("is_operator not between", value1, value2, "isOperator");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeIsNull() {
            addCriterion("operator_code is null");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeIsNotNull() {
            addCriterion("operator_code is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeEqualTo(String value) {
            addCriterion("operator_code =", value, "operatorCode");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeNotEqualTo(String value) {
            addCriterion("operator_code <>", value, "operatorCode");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeGreaterThan(String value) {
            addCriterion("operator_code >", value, "operatorCode");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("operator_code >=", value, "operatorCode");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeLessThan(String value) {
            addCriterion("operator_code <", value, "operatorCode");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeLessThanOrEqualTo(String value) {
            addCriterion("operator_code <=", value, "operatorCode");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeLike(String value) {
            addCriterion("operator_code like", value, "operatorCode");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeNotLike(String value) {
            addCriterion("operator_code not like", value, "operatorCode");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeIn(List<String> values) {
            addCriterion("operator_code in", values, "operatorCode");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeNotIn(List<String> values) {
            addCriterion("operator_code not in", values, "operatorCode");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeBetween(String value1, String value2) {
            addCriterion("operator_code between", value1, value2, "operatorCode");
            return (Criteria) this;
        }

        public Criteria andOperatorCodeNotBetween(String value1, String value2) {
            addCriterion("operator_code not between", value1, value2, "operatorCode");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelIsNull() {
            addCriterion("is_channel_level is null");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelIsNotNull() {
            addCriterion("is_channel_level is not null");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelEqualTo(String value) {
            addCriterion("is_channel_level =", value, "isChannelLevel");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelNotEqualTo(String value) {
            addCriterion("is_channel_level <>", value, "isChannelLevel");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelGreaterThan(String value) {
            addCriterion("is_channel_level >", value, "isChannelLevel");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelGreaterThanOrEqualTo(String value) {
            addCriterion("is_channel_level >=", value, "isChannelLevel");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelLessThan(String value) {
            addCriterion("is_channel_level <", value, "isChannelLevel");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelLessThanOrEqualTo(String value) {
            addCriterion("is_channel_level <=", value, "isChannelLevel");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelLike(String value) {
            addCriterion("is_channel_level like", value, "isChannelLevel");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelNotLike(String value) {
            addCriterion("is_channel_level not like", value, "isChannelLevel");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelIn(List<String> values) {
            addCriterion("is_channel_level in", values, "isChannelLevel");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelNotIn(List<String> values) {
            addCriterion("is_channel_level not in", values, "isChannelLevel");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelBetween(String value1, String value2) {
            addCriterion("is_channel_level between", value1, value2, "isChannelLevel");
            return (Criteria) this;
        }

        public Criteria andIsChannelLevelNotBetween(String value1, String value2) {
            addCriterion("is_channel_level not between", value1, value2, "isChannelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelIsNull() {
            addCriterion("channel_level is null");
            return (Criteria) this;
        }

        public Criteria andChannelLevelIsNotNull() {
            addCriterion("channel_level is not null");
            return (Criteria) this;
        }

        public Criteria andChannelLevelEqualTo(String value) {
            addCriterion("channel_level =", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelNotEqualTo(String value) {
            addCriterion("channel_level <>", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelGreaterThan(String value) {
            addCriterion("channel_level >", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelGreaterThanOrEqualTo(String value) {
            addCriterion("channel_level >=", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelLessThan(String value) {
            addCriterion("channel_level <", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelLessThanOrEqualTo(String value) {
            addCriterion("channel_level <=", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelLike(String value) {
            addCriterion("channel_level like", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelNotLike(String value) {
            addCriterion("channel_level not like", value, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelIn(List<String> values) {
            addCriterion("channel_level in", values, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelNotIn(List<String> values) {
            addCriterion("channel_level not in", values, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelBetween(String value1, String value2) {
            addCriterion("channel_level between", value1, value2, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andChannelLevelNotBetween(String value1, String value2) {
            addCriterion("channel_level not between", value1, value2, "channelLevel");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelIsNull() {
            addCriterion("is_member_level is null");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelIsNotNull() {
            addCriterion("is_member_level is not null");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelEqualTo(String value) {
            addCriterion("is_member_level =", value, "isMemberLevel");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelNotEqualTo(String value) {
            addCriterion("is_member_level <>", value, "isMemberLevel");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelGreaterThan(String value) {
            addCriterion("is_member_level >", value, "isMemberLevel");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelGreaterThanOrEqualTo(String value) {
            addCriterion("is_member_level >=", value, "isMemberLevel");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelLessThan(String value) {
            addCriterion("is_member_level <", value, "isMemberLevel");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelLessThanOrEqualTo(String value) {
            addCriterion("is_member_level <=", value, "isMemberLevel");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelLike(String value) {
            addCriterion("is_member_level like", value, "isMemberLevel");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelNotLike(String value) {
            addCriterion("is_member_level not like", value, "isMemberLevel");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelIn(List<String> values) {
            addCriterion("is_member_level in", values, "isMemberLevel");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelNotIn(List<String> values) {
            addCriterion("is_member_level not in", values, "isMemberLevel");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelBetween(String value1, String value2) {
            addCriterion("is_member_level between", value1, value2, "isMemberLevel");
            return (Criteria) this;
        }

        public Criteria andIsMemberLevelNotBetween(String value1, String value2) {
            addCriterion("is_member_level not between", value1, value2, "isMemberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelIsNull() {
            addCriterion("member_level is null");
            return (Criteria) this;
        }

        public Criteria andMemberLevelIsNotNull() {
            addCriterion("member_level is not null");
            return (Criteria) this;
        }

        public Criteria andMemberLevelEqualTo(String value) {
            addCriterion("member_level =", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelNotEqualTo(String value) {
            addCriterion("member_level <>", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelGreaterThan(String value) {
            addCriterion("member_level >", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelGreaterThanOrEqualTo(String value) {
            addCriterion("member_level >=", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelLessThan(String value) {
            addCriterion("member_level <", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelLessThanOrEqualTo(String value) {
            addCriterion("member_level <=", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelLike(String value) {
            addCriterion("member_level like", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelNotLike(String value) {
            addCriterion("member_level not like", value, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelIn(List<String> values) {
            addCriterion("member_level in", values, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelNotIn(List<String> values) {
            addCriterion("member_level not in", values, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelBetween(String value1, String value2) {
            addCriterion("member_level between", value1, value2, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andMemberLevelNotBetween(String value1, String value2) {
            addCriterion("member_level not between", value1, value2, "memberLevel");
            return (Criteria) this;
        }

        public Criteria andSubLevelIsNull() {
            addCriterion("sub_level is null");
            return (Criteria) this;
        }

        public Criteria andSubLevelIsNotNull() {
            addCriterion("sub_level is not null");
            return (Criteria) this;
        }

        public Criteria andSubLevelEqualTo(String value) {
            addCriterion("sub_level =", value, "subLevel");
            return (Criteria) this;
        }

        public Criteria andSubLevelNotEqualTo(String value) {
            addCriterion("sub_level <>", value, "subLevel");
            return (Criteria) this;
        }

        public Criteria andSubLevelGreaterThan(String value) {
            addCriterion("sub_level >", value, "subLevel");
            return (Criteria) this;
        }

        public Criteria andSubLevelGreaterThanOrEqualTo(String value) {
            addCriterion("sub_level >=", value, "subLevel");
            return (Criteria) this;
        }

        public Criteria andSubLevelLessThan(String value) {
            addCriterion("sub_level <", value, "subLevel");
            return (Criteria) this;
        }

        public Criteria andSubLevelLessThanOrEqualTo(String value) {
            addCriterion("sub_level <=", value, "subLevel");
            return (Criteria) this;
        }

        public Criteria andSubLevelLike(String value) {
            addCriterion("sub_level like", value, "subLevel");
            return (Criteria) this;
        }

        public Criteria andSubLevelNotLike(String value) {
            addCriterion("sub_level not like", value, "subLevel");
            return (Criteria) this;
        }

        public Criteria andSubLevelIn(List<String> values) {
            addCriterion("sub_level in", values, "subLevel");
            return (Criteria) this;
        }

        public Criteria andSubLevelNotIn(List<String> values) {
            addCriterion("sub_level not in", values, "subLevel");
            return (Criteria) this;
        }

        public Criteria andSubLevelBetween(String value1, String value2) {
            addCriterion("sub_level between", value1, value2, "subLevel");
            return (Criteria) this;
        }

        public Criteria andSubLevelNotBetween(String value1, String value2) {
            addCriterion("sub_level not between", value1, value2, "subLevel");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelIsNull() {
            addCriterion("is_enterprise_level is null");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelIsNotNull() {
            addCriterion("is_enterprise_level is not null");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelEqualTo(String value) {
            addCriterion("is_enterprise_level =", value, "isEnterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelNotEqualTo(String value) {
            addCriterion("is_enterprise_level <>", value, "isEnterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelGreaterThan(String value) {
            addCriterion("is_enterprise_level >", value, "isEnterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelGreaterThanOrEqualTo(String value) {
            addCriterion("is_enterprise_level >=", value, "isEnterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelLessThan(String value) {
            addCriterion("is_enterprise_level <", value, "isEnterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelLessThanOrEqualTo(String value) {
            addCriterion("is_enterprise_level <=", value, "isEnterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelLike(String value) {
            addCriterion("is_enterprise_level like", value, "isEnterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelNotLike(String value) {
            addCriterion("is_enterprise_level not like", value, "isEnterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelIn(List<String> values) {
            addCriterion("is_enterprise_level in", values, "isEnterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelNotIn(List<String> values) {
            addCriterion("is_enterprise_level not in", values, "isEnterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelBetween(String value1, String value2) {
            addCriterion("is_enterprise_level between", value1, value2, "isEnterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andIsEnterpriseLevelNotBetween(String value1, String value2) {
            addCriterion("is_enterprise_level not between", value1, value2, "isEnterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelIsNull() {
            addCriterion("enterprise_level is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelIsNotNull() {
            addCriterion("enterprise_level is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelEqualTo(String value) {
            addCriterion("enterprise_level =", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelNotEqualTo(String value) {
            addCriterion("enterprise_level <>", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelGreaterThan(String value) {
            addCriterion("enterprise_level >", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelGreaterThanOrEqualTo(String value) {
            addCriterion("enterprise_level >=", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelLessThan(String value) {
            addCriterion("enterprise_level <", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelLessThanOrEqualTo(String value) {
            addCriterion("enterprise_level <=", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelLike(String value) {
            addCriterion("enterprise_level like", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelNotLike(String value) {
            addCriterion("enterprise_level not like", value, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelIn(List<String> values) {
            addCriterion("enterprise_level in", values, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelNotIn(List<String> values) {
            addCriterion("enterprise_level not in", values, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelBetween(String value1, String value2) {
            addCriterion("enterprise_level between", value1, value2, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseLevelNotBetween(String value1, String value2) {
            addCriterion("enterprise_level not between", value1, value2, "enterpriseLevel");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdIsNull() {
            addCriterion("enterprise_member_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdIsNotNull() {
            addCriterion("enterprise_member_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdEqualTo(Long value) {
            addCriterion("enterprise_member_id =", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdNotEqualTo(Long value) {
            addCriterion("enterprise_member_id <>", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdGreaterThan(Long value) {
            addCriterion("enterprise_member_id >", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterprise_member_id >=", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdLessThan(Long value) {
            addCriterion("enterprise_member_id <", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdLessThanOrEqualTo(Long value) {
            addCriterion("enterprise_member_id <=", value, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdIn(List<Long> values) {
            addCriterion("enterprise_member_id in", values, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdNotIn(List<Long> values) {
            addCriterion("enterprise_member_id not in", values, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdBetween(Long value1, Long value2) {
            addCriterion("enterprise_member_id between", value1, value2, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseMemberIdNotBetween(Long value1, Long value2) {
            addCriterion("enterprise_member_id not between", value1, value2, "enterpriseMemberId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNull() {
            addCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNotNull() {
            addCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdEqualTo(Long value) {
            addCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotEqualTo(Long value) {
            addCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThan(Long value) {
            addCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThanOrEqualTo(Long value) {
            addCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThan(Long value) {
            addCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThanOrEqualTo(Long value) {
            addCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIn(List<Long> values) {
            addCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotIn(List<Long> values) {
            addCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdBetween(Long value1, Long value2) {
            addCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotBetween(Long value1, Long value2) {
            addCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andMemberLevelTimeIsNull() {
            addCriterion("member_level_time is null");
            return (Criteria) this;
        }

        public Criteria andMemberLevelTimeIsNotNull() {
            addCriterion("member_level_time is not null");
            return (Criteria) this;
        }

        public Criteria andMemberLevelTimeEqualTo(Date value) {
            addCriterion("member_level_time =", value, "memberLevelTime");
            return (Criteria) this;
        }

        public Criteria andMemberLevelTimeNotEqualTo(Date value) {
            addCriterion("member_level_time <>", value, "memberLevelTime");
            return (Criteria) this;
        }

        public Criteria andMemberLevelTimeGreaterThan(Date value) {
            addCriterion("member_level_time >", value, "memberLevelTime");
            return (Criteria) this;
        }

        public Criteria andMemberLevelTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("member_level_time >=", value, "memberLevelTime");
            return (Criteria) this;
        }

        public Criteria andMemberLevelTimeLessThan(Date value) {
            addCriterion("member_level_time <", value, "memberLevelTime");
            return (Criteria) this;
        }

        public Criteria andMemberLevelTimeLessThanOrEqualTo(Date value) {
            addCriterion("member_level_time <=", value, "memberLevelTime");
            return (Criteria) this;
        }

        public Criteria andMemberLevelTimeIn(List<Date> values) {
            addCriterion("member_level_time in", values, "memberLevelTime");
            return (Criteria) this;
        }

        public Criteria andMemberLevelTimeNotIn(List<Date> values) {
            addCriterion("member_level_time not in", values, "memberLevelTime");
            return (Criteria) this;
        }

        public Criteria andMemberLevelTimeBetween(Date value1, Date value2) {
            addCriterion("member_level_time between", value1, value2, "memberLevelTime");
            return (Criteria) this;
        }

        public Criteria andMemberLevelTimeNotBetween(Date value1, Date value2) {
            addCriterion("member_level_time not between", value1, value2, "memberLevelTime");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andGiveStatusIsNull() {
            addCriterion("give_status is null");
            return (Criteria) this;
        }

        public Criteria andGiveStatusIsNotNull() {
            addCriterion("give_status is not null");
            return (Criteria) this;
        }

        public Criteria andGiveStatusEqualTo(String value) {
            addCriterion("give_status =", value, "giveStatus");
            return (Criteria) this;
        }

        public Criteria andGiveStatusNotEqualTo(String value) {
            addCriterion("give_status <>", value, "giveStatus");
            return (Criteria) this;
        }

        public Criteria andGiveStatusGreaterThan(String value) {
            addCriterion("give_status >", value, "giveStatus");
            return (Criteria) this;
        }

        public Criteria andGiveStatusGreaterThanOrEqualTo(String value) {
            addCriterion("give_status >=", value, "giveStatus");
            return (Criteria) this;
        }

        public Criteria andGiveStatusLessThan(String value) {
            addCriterion("give_status <", value, "giveStatus");
            return (Criteria) this;
        }

        public Criteria andGiveStatusLessThanOrEqualTo(String value) {
            addCriterion("give_status <=", value, "giveStatus");
            return (Criteria) this;
        }

        public Criteria andGiveStatusLike(String value) {
            addCriterion("give_status like", value, "giveStatus");
            return (Criteria) this;
        }

        public Criteria andGiveStatusNotLike(String value) {
            addCriterion("give_status not like", value, "giveStatus");
            return (Criteria) this;
        }

        public Criteria andGiveStatusIn(List<String> values) {
            addCriterion("give_status in", values, "giveStatus");
            return (Criteria) this;
        }

        public Criteria andGiveStatusNotIn(List<String> values) {
            addCriterion("give_status not in", values, "giveStatus");
            return (Criteria) this;
        }

        public Criteria andGiveStatusBetween(String value1, String value2) {
            addCriterion("give_status between", value1, value2, "giveStatus");
            return (Criteria) this;
        }

        public Criteria andGiveStatusNotBetween(String value1, String value2) {
            addCriterion("give_status not between", value1, value2, "giveStatus");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusIsNull() {
            addCriterion("enterprise_give_status is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusIsNotNull() {
            addCriterion("enterprise_give_status is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusEqualTo(String value) {
            addCriterion("enterprise_give_status =", value, "enterpriseGiveStatus");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusNotEqualTo(String value) {
            addCriterion("enterprise_give_status <>", value, "enterpriseGiveStatus");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusGreaterThan(String value) {
            addCriterion("enterprise_give_status >", value, "enterpriseGiveStatus");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusGreaterThanOrEqualTo(String value) {
            addCriterion("enterprise_give_status >=", value, "enterpriseGiveStatus");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusLessThan(String value) {
            addCriterion("enterprise_give_status <", value, "enterpriseGiveStatus");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusLessThanOrEqualTo(String value) {
            addCriterion("enterprise_give_status <=", value, "enterpriseGiveStatus");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusLike(String value) {
            addCriterion("enterprise_give_status like", value, "enterpriseGiveStatus");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusNotLike(String value) {
            addCriterion("enterprise_give_status not like", value, "enterpriseGiveStatus");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusIn(List<String> values) {
            addCriterion("enterprise_give_status in", values, "enterpriseGiveStatus");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusNotIn(List<String> values) {
            addCriterion("enterprise_give_status not in", values, "enterpriseGiveStatus");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusBetween(String value1, String value2) {
            addCriterion("enterprise_give_status between", value1, value2, "enterpriseGiveStatus");
            return (Criteria) this;
        }

        public Criteria andEnterpriseGiveStatusNotBetween(String value1, String value2) {
            addCriterion("enterprise_give_status not between", value1, value2, "enterpriseGiveStatus");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusIsNull() {
            addCriterion("recharge_status is null");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusIsNotNull() {
            addCriterion("recharge_status is not null");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusEqualTo(String value) {
            addCriterion("recharge_status =", value, "rechargeStatus");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusNotEqualTo(String value) {
            addCriterion("recharge_status <>", value, "rechargeStatus");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusGreaterThan(String value) {
            addCriterion("recharge_status >", value, "rechargeStatus");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusGreaterThanOrEqualTo(String value) {
            addCriterion("recharge_status >=", value, "rechargeStatus");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusLessThan(String value) {
            addCriterion("recharge_status <", value, "rechargeStatus");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusLessThanOrEqualTo(String value) {
            addCriterion("recharge_status <=", value, "rechargeStatus");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusLike(String value) {
            addCriterion("recharge_status like", value, "rechargeStatus");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusNotLike(String value) {
            addCriterion("recharge_status not like", value, "rechargeStatus");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusIn(List<String> values) {
            addCriterion("recharge_status in", values, "rechargeStatus");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusNotIn(List<String> values) {
            addCriterion("recharge_status not in", values, "rechargeStatus");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusBetween(String value1, String value2) {
            addCriterion("recharge_status between", value1, value2, "rechargeStatus");
            return (Criteria) this;
        }

        public Criteria andRechargeStatusNotBetween(String value1, String value2) {
            addCriterion("recharge_status not between", value1, value2, "rechargeStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}